from django.contrib import admin
from routes.models import Region, Setter

#TODO Fix field size of contents for waivers

class RouteRegionAdmin(admin.ModelAdmin):
    list_display = ('name', 'type',)
    list_filter = ['name','type']
    search_fields = ['name']

class RouteSetterAdmin(admin.ModelAdmin):
    list_display = ('user',)
    list_filter = ['user']
    search_fields = ['user']

admin.site.register(Region, RouteRegionAdmin)
admin.site.register(Setter, RouteSetterAdmin)